﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NewsPortal.Controllers
{
    public class CategoryControlController : Controller
    {
        //
        // GET: /CategoryControl/

        public ActionResult Index()
        {
            return RedirectToRoute("Default");
        }

        [ChildActionOnly]
        [OutputCache(Duration = 9999, VaryByParam = "None")]
        public ActionResult List()
        {
            return View("CategoryControl");
        }

    }
}
